package com.dealer.management.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dealer.management.entity.Supplier;

public interface SupplierService {
    
    IPage<Supplier> getSupplierPage(Page<Supplier> page, String name);
    
    Supplier getSupplierById(Long id);
    
    boolean saveSupplier(Supplier supplier);
    
    boolean updateSupplier(Supplier supplier);
    
    boolean deleteSupplier(Long id);
}
